package com.zwr.sheller.core.common;

/**
 * @Author LSY
 * @Date 2022/1/5 10:00
 * @Version 1.0
 **/
public enum FLJExceptionCode {
    UNKNOWN_EXCEPTION("5000", "未知异常"),
    ERROR_DATA("5001","数据有误！"),
    ADDRESS_NULL("5003","用户地址已过期/不存在，请重新定位地址！"),
    GOODS_NOT_EXIST("5004","商品不存在！"),
    GOODS_SOLD_OUT("5005","商品已下架！")
    ;

    private String code;
    private String message;

    FLJExceptionCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
